﻿@using HrEFCore.Models
@model View_UserRoles
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-trasitional.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<script src="~/aa/vue/dist/vue.js"></script>
	<script src="~/aa/element-ui/lib/index.js"></script>
	<link href="~/aa/element-ui/lib/theme-chalk/index.css" rel="stylesheet" />
	<script src="~/aa/axios/dist/axios.js"></script>
	<link rel="stylesheet" href="~/css/table.css" type="text/css"></link>
	<script type="text/javascript" src="~/javascript/comm/comm.js"></script>
	<script type="text/javascript" src="~/javascript/jquery-1.7.2.js"></script>
	<style type="text/css">
		body {
			background: rgb(253,244,227);
		}

		.TD_STYLE1 {
			background: #E6DDCE;
			/* color:white; */
		}

		.TD_STYLE2 {
			background: rgb(253,244,227);
		}

		.INPUT_STYLE2 {
			background: rgb(253,244,227);
		}
	</style>
</head>
<body>
	<form action="/User/Update" method="post">
		<table style="width:100%;margin-top:10px;height:30px;background-color:rgb(253,244,227)">
			<tr>
				<td>
					<font color="black">您正在做的业务是：人力资源--权限管理--修改用户</font>
				</td>
			</tr>
			<tr>
				<td align="right">
					<input type="submit" value="保存" class="BUTTON_STYLE1" />
					<input type="button" value="返回" class="BUTTON_STYLE1"
						   onclick="history.back()">
				</td>
			</tr>
		</table>
		<table width="100%" border="1" cellpadding=3 cellspacing=1
			   bordercolorlight=#848284 bordercolordark=#eeeeee
			   class="TABLE_STYLE1 table-bordered">
			<tr>
				<td class="TD_STYLE1">用户名称</td>
				<td class="TD_STYLE2">
					<input type="text" id="userName" name="UId" value="@Model.UId" style="display:none"/>
					<input type="text" id="userName" name="UserRolesID" value="@Model.UserRolesID" style="display:none" />
					<input type="text" id="userName" name="UName" value="@Model.UName"/>
				</td>
				<td class="TD_STYLE1">用户密码</td>
				<td class="TD_STYLE2">
					<input type="text" id="userPassword" name="UPassWord" value="@Model.UPassWord"/>
				</td>
			</tr>
			<tr>
				<td class="TD_STYLE1">真实姓名</td>
				<td class="TD_STYLE2">
					<input type="text" id="userTrueName" name="UTrueName" value="@Model.UTrueName"/>
				</td>
				<td class="TD_STYLE1">用户身份</td>
				<td class="TD_STYLE2">
					@Html.DropDownListFor(e=>e.RolesID,ViewBag.roles as IEnumerable<SelectListItem>,new { @class = "INPUT_STYLE2",@stlye="background: rgb(253,244,227);"})
				</td>
			</tr>
		</table>
	</form>
</body>
</html>